package com.zenithmind.chat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zenithmind.chat.pojo.entity.ChatGroupSetting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 群组设置Mapper接口
 * 
 * @author ZenithMind Team
 * @since 2025-01-09
 */
@Mapper
public interface ChatGroupSettingMapper extends BaseMapper<ChatGroupSetting> {

    /**
     * 根据群组ID获取设置
     * 
     * @param groupId 群组ID
     * @return 群组设置
     */
    ChatGroupSetting getByGroupId(@Param("groupId") String groupId);
}
